package trinnes.oliver.unimaas.smartpentalath.intelligence.features;

import trinnes.oliver.unimaas.smartpentalath.control.Game;

/**
 *
 * @author Oliver Trinnes
 */
public class CaptureFeature extends Feature
{

  public CaptureFeature(int weight)
  {
    super(weight);
  }

  public int getValue(Game game, int move)
  {
    int numberOfCaptured = game.getChanges().peek().getCaptured().size();
    return numberOfCaptured;
  }

}
